package com.vtest.quartz.service.impl;

import com.vtest.quartz.domain.job.SysJobLog;
import com.vtest.quartz.mapper.SysJobLogMapper;
import com.vtest.quartz.service.SysJobLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @Author: tiger
 * @Data: 2024/12/09 21:18
 * @Description: 定时任务调度日志信息 服务层
 **/

@Service
public class SysJobLogServiceImpl implements SysJobLogService {

    @Autowired
    private SysJobLogMapper jobLogMapper;

    /**
     * @MethodName: addJobLog 调度日志信息
     * @Date: 2024/12/9 21:20
     * @Description: 新增任务日志
     **/
    @Override
    public void addJobLog(SysJobLog jobLog) {
        jobLogMapper.insertJobLog(jobLog);
    }
}
